#! /bin/sh
patch -p0 -l -f $* < $0
exit $?

--- gio/gregistrysettingsbackend.c.orig 2017-05-02 12:29:41.949315510 +0200
+++ gio/gregistrysettingsbackend.c      2017-05-02 12:30:04.273740051 +0200
@@ -228,7 +228,7 @@
   if (result_code == ERROR_KEY_DELETED)
     trace ("(%s)", win32_message);
   else
-    g_message (win32_message);
+    g_message ("%s", win32_message);
 };
